package org.example.entity;

import java.util.Date;


public class User {

    private String id;
    private String name;
    private String code;
    private String sex;
    private Integer age;
    private String dept;
    private Double salary;
    private Date csrq;


    public User() {
    }

    public User(String name, String code, String sex, Integer age, String dept, Double salary, Date csrq) {
        this.name = name;
        this.code = code;
        this.sex = sex;
        this.age = age;
        this.dept = dept;
        this.salary = salary;
        this.csrq = csrq;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public Date getCsrq() {
        return csrq;
    }

    public void setCsrq(Date csrq) {
        this.csrq = csrq;
    }

}
